package day05;

//ContinueDemo的演示
public class ContinueDemo {
    public static void main(String[] args) {
        for (int num = 1; num <= 9; num++) {
            if (num % 3 == 0) {//或者是:num%3!=0,这样可以不需要continue也能完成效果;如下:
                continue;
            }
            System.out.println(num + "*9=" + num * 9);

        }
        for (int num = 1; num <= 9; num++) {
            if (num % 3 != 0) {
                System.out.println(num + "*9=" + num * 9);
            }
        }
    }
}
